package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 单据编号表
 * @TableName yd_sequence
 */
@TableName(value ="yd_sequence")
@Data
public class YdSequence implements Serializable {
    /**
     * 序列名称
     */
    @TableId(value = "seq_name")
    private String seqName;

    /**
     * 最小值
     */
    @TableField(value = "min_value")
    private Long minValue;

    /**
     * 最大值
     */
    @TableField(value = "max_value")
    private Long maxValue;

    /**
     * 当前值
     */
    @TableField(value = "current_val")
    private Long currentVal;

    /**
     * 增长步数
     */
    @TableField(value = "increment_val")
    private Integer incrementVal;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}